<include file="Public:header"/>
<div class="data_list">
	<table>
		<tr>
			<th>说明</th>
			<th>类型</th>
			<th>键名</th>
			<th>键值</th>
			<th>排序</th>
			<th width="30">启用</th>
			<th>操作</th>
		</tr>
		<volist name="list" id="rs">
		<tr>
			<input type="hidden" name="id[{$rs['id']}]" value="{$rs['id']}">
			<td>{$rs['title']}</td>
			<td>{$rs['type']}</td>
			<td>{$rs['name']}</td>
			<td>{$rs['val']}</td>
			<td>
				<input class="w40 tac td-txt" type="text" name="order_id[{$rs['id']}]" value="<if condition="$rs['order_id'] neq '999999'">{$rs['order_id']}</if>">
			</td>
			<td>
				<input type="checkbox" name="status[{$rs['id']}]" value="1" <eq name="rs.status" value="1">checked</eq> />
			</td>
			<td>
				<a href="{:URL('edit',array('id'=>$rs['id']))}" title="修改">
					<img src="../Public/images/ico_edit.jpg">
				</a>
				<a href="{:URL('delete','id='.$rs['id'])}" title="删除" onclick="return $(this).delConfirm();">
					<img src="../Public/images/ico_del.jpg">
				</a>
			</td>
		</tr>
		</volist>
	</table>
</div>

<div class="page">{$page}</div>
<div class="batch_opt">
	<input type="button" value="批量修改" class="btn1" onclick="addForm('table')">
	<input type="button" value="添加" onclick="jumpurl('{:URL('add')}')" class="btn3">
</div>

<include file="Public:footer"/>